package com.sky.service.impl;

import com.sky.entity.DishFlavor;
import com.sky.mapper.DishFlaverMapper;
import com.sky.service.DishFlavorService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class DishFlavorServiceImpl implements DishFlavorService {

    @Autowired
    private DishFlaverMapper dishFlaverMapper;

    @Override
    public void insert(List<DishFlavor> flavors) {
        dishFlaverMapper.insert(flavors);
    }
}
